using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using PlugNT.Safe;


using PlugNT.Cms.Custom;
using PlugNT.Cms.Model;

namespace PlugNT.Cms.BLL
{
    public class AdClass
    {


        private static readonly PlugNT.Cms.DAL.AdClass dal = new PlugNT.Cms.DAL.AdClass();

        public static string GetTableName()
        {
            return PlugNT.Cms.DAL.AdClass.currTableName;
        }







        public AdClassInfo GetAdClassInfo(int id)
        {
            return dal.GetAdClassInfo(id);

        }







        public bool Add(AdClassInfo model)
        {
            return dal.Add(model);
        }






        public bool Update(AdClassInfo model)
        {
            return dal.Update(model);
        }






        public bool Delete(int id)
        {
            return dal.Delete(id);
        }








        public DataTable GetList(int sysModelId)
        {
            return dal.GetList(sysModelId);
        }


    }
}

